import Axios, { downLoadFile } from '@/utils/request';
import { overReasonFollowDTO, overReasonFollowVO } from '../vo/risk-result';

export default class API {
    /**
     * 超限原因汇总表
     * @returns
     */
    static overReasonFollowList(data: overReasonFollowDTO): Promise<overReasonFollowVO> {
        return Axios.post('/ovattr/oucher/queryCause/summary', data);
    }

    /**
     * 超限跟踪历史记录
     * @returns
     */
    static overReasonById(data: any): Promise<any> {
        return Axios.post('/ovattr/oucher/queryCause/detail', data);
    }

    /**
     * 超限跟踪历史记录
     * @returns
     */
    static overFollowRecordList(data: any): Promise<any> {
        return Axios.post('/ovattr/oucher/queryCause/trace', data);
    }
}
